package cn.itcast.tx;

public class OrderService {
	private OrderDao orderDao;

	public OrderDao getOrderDao() {
		return orderDao;
	}

	public void setOrderDao(OrderDao orderDao) {
		this.orderDao = orderDao;
	}
	
	public void accountMoney(){
		orderDao.lessMoney();
		
		int i=10/0;
		orderDao.moreMoney();
	}
}
